#include <stdio.h>
#include <stdlib.h>

int main(int argc, char const* argv[])
{
    char a[10] = "./1XXXXXX";
    printf("%d\n", sizeof(a));
        
    if (mkstemp(a) < 0)
        perror("mkstemp error");

    return 0;
}
